/*
**      Newton Developer Technical Support Sample Code
**
**      PeriodicElements, Demonstrates the use of protoPeriodicAlarmEditor 
** 					      for alarm generation 
**
**      by J. Christopher Bell, Newton Developer Technical Support
**
**      Copyright  1995 by Apple Computer, Inc.  All rights reserved.
**
**      You may incorporate this sample code into your applications without
**      restriction.  This sample code has been provided "AS IS" and the
**      responsibility for its operation is 100% yours.  You are not
**      permitted to modify and redistribute the source as "DTS Sample Code."
**      If you are going to re-distribute the source, we require that you
**      make it clear in the source that the code was descended from
**      Apple-provided sample code, but that you've made changes.
*/

Demonstrates the use of protoPeriodicAlarmEditor for alarm generation.


Important methods:

AlarmsEnabled -- a function in your base view which returns true or nil, 
   indicating whether alarms should be active. Always return true if the alarms
   do not represent a feature which can be turned off.
   
PeriodicAlarm -- a function in your base view which will be called when
   the alarm "goes off".
   
   
The actual storage of the 'alarms' is based on an "ownerSymbol" which is used
to register the alarms globally with the System Services component of the 
operating system. The protoPeriodicAlarmEditor is merely an editor for these
alarms which automatically creates "callback" functions for the alarms
which resubmit themselves for their next occurance as soon as the alarm goes off.
